diff --git a/robottelo/hosts.py b/robottelo/hosts.py index fc3256092d6..723fe993f2f 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -1545,7 +1545,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)