packages/pkgbuild: fix pkgbuild_sources.
scripts/globals: add path_parents (print all parents of given relative path).
packages/pkgbuild: pkgbuild_sanitize: rewrite using find, remove stale source files.