packaging: setup: detect existing DB in remote flows

Change-Id: Iee813572cab7e0afcf5f5dfa97e4121334c3aa5b
Bug-Url: https://bugzilla.redhat.com/1026947
Signed-off-by: Alex Lourie <alourie@redhat.com>