remove old repository method
we don't require github any more! Woo!
DRY up github-specific parts