properly compute pkg_ predicate (deps were missing)