When I saw the word in that context, I was immediately reminded of a hat that used to be known as a "Pork Pie", because of its resemblance. I'm sure that there is a connection, just can't find it.

I'll keep looking!