Hierarchically resolve missing dependencies within recursive dependencies.