align RootIndex.isProjectExcludeRoot with DirectoryIndexImpl