XWIKI-9590: Add script API to search for a dependency in a specific namespace