fix a bug introduced in c998561d6cc1236

changing the message formatting to use previously assembled results
dictionary broke due to the tolerance not being included in the results
dictionary.
Merge pull request #2887 from megies/fix_image_comparison

fix a bug introduced in c998561d6cc1236