fix for empty EC2_URL env var