engine: minor CommandBase change for rename logging

- catching Exception is removed
- added junit test for the new method

Change-Id: I8b437192af2635a133d1636c2ede39eb91a51c71
Signed-off-by: Laszlo Hornyak <lhornyak@redhat.com>