Allow paths to be set to a hostname or an IP.

Fixes EUCA-5666