Update behavior when list has only sentinel node

When pop is called, nothing is done. When head() and tail() is called, NULL is
returned.