Fix: npm install chokes when finds .gitignore dirs in the tests.