Use StringRef::npos for StringRef instead of std::string one