FIX: Use correct XPath syntax (PR #15541)

Fixes compatibility with nokogiri 1.13.0

GitHub

How urgent is this @CvX ? Can it wait till after the release? What is up with the test failures?

Closing in favor of #15612