Resolve a dependency from within the context of another package.