Fixed failing tests when packaging

Sometimes inside request logger, there is no request object registered.