Prevent the user from exporting groups containing sign-only keys
(cherry picked from commit 14bb3f01a16bf2e20b3093e796e32f6f4106074f)