Fixes listing branches for when using source code
Merge pull request #709 from adam111316/fix_branches

Fixes listing branches for when using source code