Updates the package zip rule in the .git/.hg ignore files.