Need to check for null pull_request as well as null inside it