Improved Error handling in bkpmgr