Convert slashes to hyphens in the `standardize()` function (see #6396)