Fix getent networks lookup and resulting incorrect NSS change.