Fixes problem with checking if image path was already cofirmed

Small fix on how to check if image path was already confirmed. The actual code checks many times if the same path has retina version.