See https://github.com/ops4j/org.ops4j.pax.jpa/commit/4fc22ae15b5eb85af0ee9dbc564b0ff46bdb8284 for a patch.