Prevent crashes from passing nothing to nunjucks