Also use $PATH when searching for groups and id.