grep -q "gitpod.io/theia.'$VERSION'"; is resulting in a search similar to "gitpod.io/theia.'master.41'" which is never going to match because of the single quotes. Because of this, we are still failing to avoid the crashloop when re-deploying the same version.