Fix possible implicit conversion of NULL to std::string