Fix path resolution for update-buildslave.sh.