Remove extra whitespace in remotes