Fixes malformed url problem querying etcd