EA-55404 - assert: PsiPackageBase.getChildren

(cherry picked from commit 1cf32d2b3d1e073c2f98f95ba60038519a059bf3)