Use 'manage_repos' for nightly builds.

Minor refactoring for the nightly installer and fixed issue where we
were re-assigning `org_name` instead of `loc_name`.