PDF generation fails with Jail is not an absolute path error

Given an Antora partial that includes another in the same module partial without specifying the module:

// This causes the PDF build to throw a fatal error:
include::fragment.adoc[]
// This lets the PDF build succeed:
//include::ROOT:partial$fragment.adoc[]

PDF generation fails with a fatal error:

npx antora site-pdf.yml --stacktrace 
[13:47:43.752] FATAL (antora): Jail is not an absolute path: modules/ROOT/pages
    Cause: SecurityError
        at Opal.send (/usr/local/lib/node_modules/@antora/site-generator/node_modules/asciidoctor-opal-runtime/src/opal.js:1671:19)
        at Function.$$exception (/usr/local/lib/node_modules/@antora/site-generator/node_modules/asciidoctor-opal-runtime/src/opal.js:4993:14)
        at constructor.$$raise (/usr/local/lib/node_modules/@antora/site-generator/node_modules/asciidoctor-opal-runtime/src/opal.js:4681:31)
        at constructor.$$system_path (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:12950:18)
        at constructor.$$normalize_system_path (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:5644:37)
        at constructor.$$resolve_include_path (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:14714:26)
        at constructor.$$preprocess_include_directive (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:14356:21)
        at constructor.$$process_line (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:14145:37)
        at constructor.$$peek_line (/usr/local/lib/node_modules/@antora/site-generator/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:13331:37)
        at Opal.send (/usr/local/lib/node_modules/@antora/site-generator/node_modules/asciidoctor-opal-runtime/src/opal.js:1671:19)

For a small test case to reproduce the problem, clone https://github.com/markcraig/antora-partials.