Historical reasons. When the first version of linked list and ref count were merged, this was implemented this way in order to be able to return -1 in case of error. It is possible to change it, however the work required for that is probably more than what the benefits would be.
Feel free to change this if this is very important for you.