core: minor cleanup in import vm

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