*8406* Allow piwik plugin to properly self-register on install/upgrade