Fixes a bug in PSD error processing (triggered by a server problem) and piwik debug.