fixed to allow undeployment from non authorized thread like kie-config-cli or remote service deployement