Add repos from active settings profiles to the expanded locations list. Also, refactor the location expander setup logic into a few methods to make it a little easier to understand.