Would be good to have a test for this. The JcloudsLocationTest use of BailOutJcloudsLocation might be a good starting point.
Or could make it package private (annotated with `@VisibleForTesting`) and call it directly in the test.