Prevent an instant exception when env vars are missing.