remove removed subdirectories from config on --merge-config