XWIKI-10980: The "Install new applications" button doesn't work anymore.

(cherry picked from commit c576d0f0947a9b0cb155a137a3941442953e2ea7)