1314: fixed finding packages that dependens on