Don't try to patch .gitignore in tarball

Copying this patch from a git commit didn't quite work, as it tries to
patch .gitignore. That file is of course not present in a tarball.