STS-3734: fixed NPE by correctly using the config name while populating the internal auto-config structures