Deployer: Bug fixes and clean up of deploy_bourne.sh.