Alternative to #1300.  Replace update_package_files with get_package_info, which should have a more future-proof API.
Merge pull request #1303 from mdboom/setup/make-update_package_files-generic

Make update_package_files future-proof