Switch to plain CFURLHasDirectoryPath()