Improved he check for unclean config files.