Handle empty or nil responses.