Packages are located under /var/cpanel/packages/, so you can rsync the directory directly on the new server.
BTW, why don't you rsync all the required files/directories directly instead of pkgacct and restorepkg scripts? rsync will save a lot of time and you have to execute the script just once to migrate all the accounts along with their settings.