SONARPLUGINS-2823 XPath rule should not lead to NPE, when parse error happens