Clean up legacy configs test in SCT_ModuleDistortions
Just disable unit-test based on legacy config. The tools from this package are anyway never used in the available configurations. The package will be fully removed in main with !69196 (merged)
FYI @tadej