DS-2352: IndexVersion.java attempts (and fails) to update and maintain empty indexes

This is a simple fix to https://jira.duraspace.org/browse/DS-2352

Just checks if an index directory is empty. If empty, it assumes that it's compatible with any version of Solr/Lucene, rather than throwing an error.