Fix situation where PAM module used does not support GECOS 

Fixes problem where gecos is returned as nil.