If ‘location’ was nil, we would implicitly create a std::string from that, which is not allowed (and crashes).