getent may not be available, so use robotname instead as a fallback.