jlink: fix jlink regression introduced by ae8cdc commit