This is because of a breaking change introduced in platform in XWIKI-17946 (will be fixed in XWIKI-18048).