fix the cwd error in Logger

1 job for B7925SplitpdfFileuploadError in 2 minutes and 10 seconds
Status Job ID Name Coverage
  Test
failed #1771
snapshot

00:02:10

 
Name Stage Failure
failed
snapshot Test There is an unknown failure, please try again
/home/gitlab-runner/builds/z2S3Mwv6/0/typo3/qfq/typo3conf/ext/qfq/Source/core/database/Database.php:212
/home/gitlab-runner/builds/z2S3Mwv6/0/typo3/qfq/typo3conf/ext/qfq/Tests/unit/core/database/DatabaseTest.php:208
.

ERRORS!
Tests: 319, Assertions: 1735, Errors: 34, Failures: 2.
Makefile:121: recipe for target 'phpunit' failed
make: *** [phpunit] Error 2
ERROR: Job failed: exit status 1