#6283: Handle the case when the index is missing
Merge pull request #6305 from dotCMS/issue-6283-Hostaliascache

#6283: Handle the case when the index is missing