Fixing ImageKilledException raising

The wait method raised the exception with current status,
instead of the desired status.

Change-Id: Iab372023e18c71302b36ab17ae808857d9704b40
2 files changed