Gets rid of unused directory key in config.