MDL-42400 generator: remove capability check from add_moduleinfo