#69767Do not create folder in wrong directory when executing tests
Description
The testing bootstrap creates several folder so that
the tests can run properly. However this is also done
if the tests are executed from a wrong directory
which make the tests fail. The folders are created anyways.
To fix this we check for an essential file right after the
directroy path is determined.