Fix bug occuring in production env when image_tag(nil) crashes app