log most frequent unknown extensions only if indices were used (IDEA-121444)