Fix value of retries shown in the error report.

Fixes #2258.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>