Don't require the template if the image exists

Fixes bug #1206887

Change-Id: Ida95cebf8bad4ab931326d226537cc111820c998