Fixbug of gnvm config copywritting.
Fixbug of gnvm config registry valid last char exist '/'.