simplify use of maybeGithub
npmconf branch rebased against master