Strip unnecessary .gitignore entries