Cleaned a bit more getting the local IP addresses.

Follow up on #29.