Fix value of retries shown in the error report.

Fixes #2258.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
I think the new approved way of doing this is
```ruby
expect(@retriable_resource.retries).to eq(0)
```