Retrieve the list of packages before install