Fix cms_snippet_tag when there is no request

Sometimes there is no request, e.g. when rendering a mailer view.