Correct typo error in check_image

Correct typo error in check_image: this was causing image comparing failure when running some of the tests in safe_qgis