Fix content type comparison in porter_should_rewrite_body function.