packaging: bin: die as expected if java home is not found
packaging: bin: die as expected if java home is not found

export always return success, so set in two phases.

Change-Id: I2546c30f7e104a7538e0f7b267830f730d35c8d3
Signed-off-by: Alon Bar-Lev <2e3ceb4d37adc6ae3ccc00d3646e0e0a036ace03@redhat.com>

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