fix for when an etcd dir is empty