Paths without extensions should be parsed as directories and files for following gitignore glob patterns