Fixes user group listing for member

My FreeIPA does not return empty string as a first record. I improved
detection of results so we filter only LDAP records. If we have at least
one records, we can load memberof attribute.