Added --use-branch flag to discover

* sets the branch on discovered repos to the branch name, not the sha1