Properly handle git excludes

See https://github.com/Thr4wn/myths_about_git_show_all_ignored_files