More informative error message when template is missing. See #17