Don't use indexWriter.getConfig in checkVersionMapRefresh