refactor package_helper in prep for provision recipe refactor