Fix getDeploymentStatus method