Memoise issetguid().
Treat "" as NULL in environment variable.