Fixes path handling in the deployment helper deploy.sh