core: prevent potential npe in VmConfigurationHelper

SnapshotVmConfigurationHelper -> markImagesIllegalIfNotInDb:
avoid accessing imagesInDbMap when null.

Change-Id: I75087440316cdc670552a25a9f2dd052b5573ed8
Signed-off-by: Daniel Erez <derez@redhat.com>