added a check to verify the GH response is not blank