[FIXED JENKINS-21769] Don't load classes of optional plug-ins.