[api] find patchinfo packages by package kind and not via package name convention