test_gitignore_filter was failing because get_all_source_files was failing to import pathspec, causing the mock .gitignore file to be ignored.
test_gitignore_filter was failing because get_all_source_files was failing to import pathspec, causing the mock .gitignore file to be ignored.