Fix reference to request_uri when storing the location