CLOUDIFY-1565 fix condition for broken service