fix issue w/ getting branches for non-hosted providers