mncc_sock: properly append an element to the end of the list