Handle missing of gpg module. This close #106 and #109

Fixed issue described on #106 and #109: the `getGPGKeyId` is not always available.