Avoid 'PHP Warning: Invalid argument supplied for foreach()' on creating logger instance with wrong configuration

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/th_rating/trunk@85625 735d13b6-9817-0410-8766-e36946ffe9aa