Deploy: correctly check if deployed instanced exists