Strip whitespace from git remote