core: Improve CommandsFactory exception logging

Change-Id: I5fe9337ca429574d99d9971e7c59219cf2dc7405
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>