bugfix: fix grep command without -w option causing prefix matched while adding one etcd member (#10291)