private static void requireNonEmpty(Version version) {
        if (version.isEmpty()) {
            throw new IllegalArgumentException("Invalid target version: " + version.toFullString());
        }
    }
Returns the upgrader to use when upgrading given node type to target
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/os/OsVersions.java