Removed cached repository, now .gitignore should work fine.