TS-1475: Add required null check for StaleWhileRevalidate plugin