detect test run and change OPENQA_BASEDIR accordingly