[BUGFIX] minor code cleanup

Change-Id: I59f22367d6ec36ef7ffa14df31c171df20b51b38
Reviewed-on: https://review.typo3.org/29209
Reviewed-by: Rupert Germann
Tested-by: Rupert Germann