private Path correct(Path path) {
            if (application.getFileReference(Path.fromString("")).getAbsolutePath().endsWith(FilesApplicationPackage.preprocessed)
                && ! path.elements().contains(FilesApplicationPackage.preprocessed)) {
                return Path.fromString(FilesApplicationPackage.preprocessed).append(path);
            }
            else {
                return path;
            }
        }
Workaround for being constructed with the .preprocessed dir as root while later being used outside it
config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java