XWIKI-9912: Cannot repair the main wiki UI any more with the Distribution Wizard
* remove useless warning

(cherry picked from commit f71a8f8526ed0a8c81b756645edbf72b2341c4c8)
XWIKI-9912: Cannot repair the main wiki UI any more with the Distribution Wizard
* use the right script service

(cherry picked from commit 2e3f9fd6618fcba0ebe93e4f9b1f419d95ce9fd4)