Fix the deployment shell script problem that would fail to replace the
existing WAR package.