add.dependency function

Private function that adds a package to the list of dependencies that will be installed on the Promote server