core: fix duplicate db scripts

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