Update repo.Branches to return a dictionary