Hello Stefan.
Your script looks very nice! This definitely saves many people some work in writing their own checks. We're trying to retire the contrib/ directory, since there are several ways of hosting open source add-on scripts elsewhere these days.
Ok, so not it contrib/.
This leaves the tools/ directory, but this can only contain APLv2 licenced code. If you're willing to relience from GPLv3 to APLv2, I see no problem adding your script somewhere under the tools/hook-scripts/ directory.
I'm fine with changing the license to Apache. I'll do that & commit in a few days if no one complains in between.
-- Fabien.