segment/lan_ip: Fix for systems with multiple ips.

- Old version returned a list of 3 IPs, breaking the layout.
- New version grabs the last IP, which appears to be the correct one
  that we want displayed, at least on this system.
- Also properly quoted variables and process substitution.