Fix potential null-pointer dereference in Curls::Infos::get_info_string

Apparently, CURLE_OK does not mean that a valid string has actually been returned.