Issue #2422815 by Xano, fgm, tim.plunkett, dawehner: Don't initialize the discovery object in plugin managers, unless needed