XWIKI-10062: Distribution action cause a broken DW to be shown if no view action has been used to trigger it

(cherry picked from commit 30d0574168c14883440d8f02c8c0438983a6bf56)