WIP: handle load repo for bitbucket/github