bugfix: forcefully remove all remotes

Sometimes the upstream remote was not removed, resulting in an error
message for the user.