Fix ModuleManager error caused by a lack of arguments.

This should probably also be backported to 2.0.