check in local package deduction logic