fix for svr4pkg module failure reporting, issue #7645

fixes #7645