Work around libstdc++ bug.
Work around libstdc++ bug in the std::string range ctor that can trigger an abort in ubsan. See ATEAM-937 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109703
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Work around libstdc++ bug in the std::string range ctor that can trigger an abort in ubsan. See ATEAM-937 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109703