XWIKI-10401: Make sure wiki module API always return a descriptor for main wiki
* fix very bad design in previous commit (thanks Clemens Robbenhaar for catching it)