packaging: setup: db/connection: register transaction at setup

main transaction is not available at init.

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