Fix for gt update62 x

Fix for TSG tests after GT update, cleanup of autoCond.py.
This PR includes and superseeds PR #2182. Thus #2182 should be closed.