fix deploy_war backward compatibility with petclinic