Avoid an infinite loop when TestRunner.sh is run outside of the test dir.