core: fix to dao test

this patch fixes VmAndTemplatesGenerationsDaoTest
testDeleteByOvfGenerations()

Change-Id: I70c1ca64762de3b5827cb1bfff34b4dd35d4edaa
Signed-off-by: Liron Aravot <laravot@redhat.com>