only keep compatibility of gpg sign command if compat=True in myrepo.commands.genconf.gen_gpgkey