Fix automatic detection of Xcode projects with special characters in the path

Special chars in path prevent the xcodeproj file to be found automatically
Closes #2852.
Didn't do time profiling, but I'm not convinced the performance would be changed significantly, as it does not do any recursion or whatnot, so the `select` only applies on entries at the first level.
_(IMHO it may even be quicker as the `glob` is localized into a specific directory, and moreover the pattern is smaller and fits a generic pattern of `*foo` for which `glob` may be optimized)_

@segiddins Why are you asking, any experience in the matter with `glob`?