Include HTTPS scheme in github API url

Ensures the github API url includes the HTTPS scheme - fixes
https://issues.jenkins-ci.org/browse/JENKINS-16921