bugfix: mercurial commit worker had an array error
It tried to get $path['targetPath'] istead of $change['targetPath'] when $path was a string