I don't think you need to be concerned about it. One time I caught our dog eating his feces, I was so angry I shouted at him to stop it because it was really gross!...he just looked at me with the expression like saying " what's your problem?"
I think it is more like curiosity. Just let him know that he is not to eat his hair