Fix possible AttributeError in process_response()

This happens when process_request() of the other middleware
fail before DynamicSitesMiddleware is called.
Merge pull request #2 from kowalski/master

Fix possible AttributeError in process_response()