Fix piwik error handling when not present