states.git.latest bugs with new remotes

Two bugfixes:
1. Handle branch which is missing a remote (continue adding remote instead of aborting out)
2. When a new remote is added, need to fetch refs