fixed #287 to make GHResponse.getXX fail fast