When scanning plugins and modules cirrus assumes that the response returned by elasticsearch will always include the plugins section. This is not necessarily the case on every installation (see this post on mw.org).
We should make the method \CirrusSearch\Maintenance\ConfigUtils::scanModulesOrPlugins resilient to such situation.