Fix rawsetenv nil-pointer guard for inherit-from-shell env vars