Fix issue with template rendering

As part of 9bf52a8, a bug was introduced where the templates weren't being
rendered properly.

Signed-off-by: Derek Richard <drichard@pivotallabs.com>