diff --git a/robottelo/hosts.py b/robottelo/hosts.py index a5d5e2319f7..a8ed9858479 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -1597,7 +1597,8 @@ def install(self, installer_obj=None, cmd_args=None, cmd_kwargs=None): """General purpose installer""" if not installer_obj: command_opts = {'scenario': self.__class__.__name__.lower()} - command_opts.update(cmd_kwargs) + if cmd_kwargs: + command_opts.update(cmd_kwargs) installer_obj = InstallerCommand(*cmd_args, **command_opts) return self.execute(installer_obj.get_command(), timeout=0)