packaging: Fixed restoring DB on upgrade in case of a failure
packaging: Fixed restoring DB on upgrade in case of a failure

Change-Id: I86e23cfb19e17abb3ec0b8c6ed1fba7aec547bce
Signed-off-by: Alex Lourie <9b6bd04ec8ec26165955e5c2df3f157a49c49dc0@redhat.com>

zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-engine,halober/ovirt-engine,halober/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine