Parsing pwd should return the current gid not the uid