Ignoring regeneratable directories.