Fix for errors in log after fa9f662af783033c21f5f40f07b563fa843ae799

As requested here: https://github.com/xbmc/xbmc/commit/fa9f662af783033c21f5f40f07b563fa843ae799#commitcomment-6989213.
@jmarshallnz