Improvement on the filtering of .gitignore lines