This makes sure the hook will catch cases where the --version or --help output
prints the installation dir or something alike that includes the
builtins.storeDir, and later on the `${pname}-${version}` string. Could
have avoided #334245 which was a fixup for #330456.