Refactor loadRemotes to restoreRemotes to avoid confusion with loadRemote