[BUGFIX] PHP warning chdir() when configuring the 1st time

Change-Id: Ie6eb428d3c8152dd800a339fe5537a6bcbbe33be
Fixes: #61495
Reviewed-on: http://review.typo3.org/32768
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>