exclude deprecated directory in config file