In that case we should try and fix up the `Makefile` and report an issue upstream. I don't want us to write out this script just for `head`; it's going to be super-brittle and prone to breaking if upstream changes it.