group name from numberic id wasn't resolved correctly. try to use getent and fallback to reading /etc/group directly.