Fix value of retries shown in the error report.

Fixes #2258.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge pull request #2259 from kwilczynski/chef-2258

Fix value of retries shown in the error report.