Fix dependency id normalization logic for plugins that output more than one module.