attr: more matching optimizations from .gitignore