[BUGFIX] use $for only when not empty and not NULL
drwxr-xr-x - typo3