packages/pkgbuild: pkgbuild_split_names: add a function for getting all pkgnames in a split package.