engine : Simplify persistCommand

Simplify persist command in command base

Change-Id: Ie6f38c3eb2a38536febe7f65c65b256d0c0798f3
Bug-Url: https://bugzilla.redhat.com/1118249
Signed-off-by: Ravi Nori <rnori@redhat.com>