Add conditional config guard for MBeanServer