etcd: fix machines endpoint test