CLOUDIFY-2539 fixed exit exceptions