Wrongly committed https://github.com/xwiki/xwiki-platform/commit/1c97a05845d14a44be78423ad5bf2223bedd61d6 without a reference to this issue.