ensure $request is always defined

this to avoid is_success() method call on a undefined var.

Reported-by: Mickael Rambour <Mickael.Rambour@univ-paris1.fr>
Merge branch '2.3.x'