There are too many times that the remotes are being added and dropped. plan the paths of execution for each option, and then load the remotes at the start and close them at the end of the chain of commands. This issue is sort of related to issue #4