Correctly skip unit tests if gnupg is not installed