Make sure we fail on invalid template invocations while compiling
Make sure we fail on invalid template invocations while compiling

If a referenced template doesn't exist at the optimization pass,
just panic. Previously, the code incorrectly indentified it as
an empty template, causing problems with non-imported trees from
the html/template escaping.

rainycape/gondola,rainycape/gondola,rainycape/gondola,rainycape/gondola