packaging: setup: fix ugprade with remote db

Change-Id: Ibd68ae47e3b1b21b9cb79e0c351706d166941c9a
Bug-Url: https://bugzilla.redhat.com/1046676
Signed-off-by: Yedidyah Bar David <didi@redhat.com>