OAK-4805: Misconfigured lucene index definition can render the whole system unusable (backport r1761787 from trunk) Fix test that broke due to r1761768