Fixing fix of MPS-18906 [build:IC-129.1328] NullPointerException in JavaForeignIdBuilder
Fix MPS-19211 Exception due to MPSPsiRootNode.getContainingFile() == null