Fixes for some of Github API's strangeness.