Check if node_modules gitignored in reinstall check