[core.wrapmodule] fix naming of wrapped modules