Wrong parameters for module installer

In InstallController, when templates are installed with modules
dependencies, the install functions does not have goods parameters.
First parameter must be an instance of ModuleManager instead string.