CLOUDIFY-1947 added success only condition to commands