fix for modules having deps of [''], which caused the wrong modules to get initialized.