Bug fix for --text-config-dir option.