Refactors code for adding HA repos.

extra space between "repo" and "in"