Strip down module generation
With hybrid modularity, we don't need to do complicated build-dependency
chasing - build dependencies can simply come from the base package set.
For runtime dependencies, still look for matches in modules, but if not
found, just assume that these dependencies will come from the base package
set.