Fix bug with git branch completion.

Was using only branches that had already been pushed to the remote.