core: minor run vm canDoAction refactor

make canDoAction return on error instead of if-else code

Change-Id: I62b362e855bd252e44b0bb7c9c9ee33dbd9b6696
Signed-off-by: Omer Frenkel <ofrenkel@redhat.com>