Missed to push another needed patch to KPackage to make this work, so will be only a later KF5 version where this is fixed hopefully. This reverts commit fb427298.