No, it is not correct. The problem is that your check for whether the element exists or not is wrong. You should check for list, not for list->next.
But that's not so important. What's important is that you did access list->next... and that points to the second element of the list. For list_pop_front, you want the sentinel to point to the second element.