GitHub API changed the URLs and it requires https,
    which is not supported by HTTP::Lite.
Use LWP::UserAgent.
Optionally use proxy for github request.
Be more verbose.
Don't exit the sub with last.