assistent: ignore case on has_image_version()

This was causing a bug of not generating image versions
on upload if the file name was in uppercase