resolve package dependencies before send