Fixed bug in akvo.rsr.middleware.PartnerSiteRouterMiddleware; partner_site_domain declared too early.