Use different syntax to remove directory in deploy.sh.