Fix for VanillaIndexCache.lastIndexFile

lastIndexFile method was not listing existing index files