Fix getEntryType
failure on spaces in file name
#6218
+10
−7
Merged