fix for image undefined when using spree_product_zoom with spree_frontend 2-1-stable

I was experiencing a crash:

undefined local variable or method `image'

when using spree_product_zoom with the 2-1-stable branch of spree_frontend. Merging in current conditional statement from the spree_frontend to check whether the variable was defined first seems to fix everything.