GitHubImporter: fixed APIv3 compatibility