CDK-292: Fix unknown schema NPE.

See commit message on f52a267.