[TASK] Wrap CLOUDSDK_PYTHON check in condition to prevent double assignment