#SB-246: Sort out the issue with the indexing of pom files

Temporary fix, so that the exception would go away.