packaging: setup: fix failure of cleaning database

Change-Id: I698eead168e25019f57feb0b9493bc87aa38ce33
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>