fix dictionary modification inside loop

keys() actually return the copy of the key, while the implicit iterator does not allow to delete while iterating.

Change-Id: I416d2b9ffa5be1fc328fb7ba38a3b479361dcc5f
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
misc pylint + style fixes on remotecommand.py

+ better root causing of problem with pb.CopiedFailure

Change-Id: Icafa84fd32996f97bf2eae27740f313a61f7a378
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix hideStepIf unit tests

actually test that an exception is hideStepIf will be catched in error logs

Change-Id: Ia037b8b478a5c2f8353b81d92efbbb716cad578f
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>