choose_template returns 404 if template is not found.