XWIKI-10240: Download is stuck when choosing XAR as output and leaving the Target field empty on Jetty 8.1.9

(cherry picked from commit 64e935eabff04c402659b7f81bee1aef2be72810)