fix(machine): Use IPv4 addr when grabbing default public IP

This makes the getLocalIP function behave as intended. It finds the first IPv4 address bound to eth0. Before, it would have grabbed the first IPv4 or IPv6 address it found.