Remove the installer hook and restore the .gitignore