config: fixed crashes when $EC2_URL not set