install script: remove .gitignore when removing .git from installed directory