repo() branch paths fixed
repo() branch paths fixed

BitBucket has a different path for it's branches, so added a check. Works for github and bitbucket everywhere I've used.
drewswanner/dotfiles,jfrazelle/dotfiles,drewswanner/dotfiles,jfrazelle/dotfiles,jfrazelle/dotfiles