Use switch statement for fake metadata server in TestContainerRegistry.
Use switch statement for fake metadata server in TestContainerRegistry.

kubernetes/cloud-provider-gcp,kubernetes/cloud-provider-gcp