Handle case when compiled_router.recognize doesn't return an HttpRouter.

When requesting an asset compiled_router.recognize returns nil in
the first element

 => found_route = self.class.compiled_router.recognize(request.env)
 => [nil, #<Set: {"GET", "HEAD"}>]