\:D That's one I hadn't heard yet!
When we say someone has 'a good head ' we mean he has a good brain. In that sense your saying could be associated with the also Anon. one -- 'on brains no hair will grow '.