handle nil @response_status

fixes #4212
Merge pull request #4226 from rolandwalker/handle_nil_in_checklinks

handle `nil` `@response_status`