never pass nil to image_tag

In production that results in a not precompiled error