Make .gitignore work correctly