xbmc/xbmc — pull request #5593 by tamland (2014-10-28 12:24:11+00:00)
Title: fix script.library type missing in runscript/runaddon checks.

Fixes regression introduced in 670fb8f4c37ec6d6ca as detailed in forum: http://forum.kodi.tv/showthread.php?tid=207467

Adding that log line exposed other issues e.g. @MartijnKaijser in `service.xbmc.versioncheck` you call RunScript on itself, a service addon, and not a script (what does that even mean?).