305: Add publishsettings to .gitignore if --git or if a repo is present