[FIX] XQuery, XQUnit: NPE in FNUnit#opt(...).
Merge pull request #912 from LeoWoerteler/unit-npe

[FIX] XQuery, XQUnit: NPE in FNUnit#opt(...).