Fix for detection of a machines IP address.

In Ruby the assignment operator has a higher precedence than the "or" operator. In this particular use case the "||" operator should be used instead to achieve the intended effect.