[WFCORE-242] : The deployment content is deleted if first undeploy and then deploy the same application using CLI batch.

Looking into the model to check that it is removed before removing content in the ResultHandler of the RemoveDeploymentHandler.