refactoring and space corrections
When analyzing a changeset, there could be multiple remotes involved