CLOUDIFY-1446 fixed. verify cloud services are not empty of deployments before accessing the first deployment.