Fix detection of existing configuration.