kpackagetool6 should be given an explicit package type. The default is generic, in spite of the metadata.json file.