We could work around that by doing "items.SetPath(URIUtils::SubstitutePath(items.GetPath(), true));" instead?