Check for null response heads before parsing.