[BUGFIX] Add check for valid directory name for TCA select fileFolder