refs #4184, 2948 - check safemode_render before rendering
Fix name of generic image to be Foreman's hostname