Return immediately when head is null