fix registry.go: use the correct node name; self is already in the list
Merge pull request #2 from xiangli-cmu/refactoring

fix registry.go: use the correct node name; self is already in the list