The [job log displayer](https://github.com/xwiki/xwiki-platform/blob/dfba8556a4f8ff9b167ba4e4034e16195fd97d0a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/logging_macros.vm#L120) is doing
$argument.startsWith('wiki:')
assuming that if it's not a String it will just get false.
Problem is that if this argument is a Path and the system is Windows this line will crash the script...
We need to make this code a little safer.