core: replace negative with positive check in RunVmCommand

Minor refactoring in RunVmCommand changing negative check with positive
one in a ternary structure - making it more readable

Change-Id: I6588f22bf6a5f8e2bc2dcd5a01f147f8c6a09c99
Signed-off-by: Arik Hadas <ahadas@redhat.com>