XWIKI-9125: Can't access local extension file trough script service
(cherry picked from commit 5905f757e6c19523176d74b5afdba4e497f758bb)