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