Remove deployment result of a failed deployment when doing a retry in th...

...e test.

Also fix log verification that is slightly different between current and original deployment logic.