Fix AttributeError on Http404.