Fix assertion error

When GitHub returns a temporary 503 error, the extension currently
raises an assertion error, which is not the expected result from an
extension.

With this change, all non-2xx responses will raise a GitHubError, not
just 4xx.