Bugfix (NPE) regarding empty switch statements in config.xml