[BUGFIX] Fixes path determination in 'select image' folder tree since TYPO3 v6.n