Small fix for BISERVER-8561.

...t not exist. Return a proper XMLA error instead of a NPE.