fix bug in stageout exception handler
Merge pull request #4435 from hufnagel/stageoutexception

fix bug in stageout exception handler