GitHubImporter: fixed APIv3 compatibility

GitHub deployed APIv3 recently. This fixes compatibility with old beta: https://developer.github.com/v3/versions/#repository-json