fix set logic to determine depends-on packages (#45)