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