[BUGFIX] Fix crawling error with TYPO3 6.x

Change-Id: I3a7e8ccfe15edee96a5b0b1c2ce32fa9e7ebee92
Reviewed-on: https://review.typo3.org/24587
Reviewed-by: Stefan Rotsch
Tested-by: Stefan Rotsch