Improve error reporting of update-wiki.sh