This is my first patch submission ever. Please tell me if there is anything I did wrong. The patch is motivated by failure of `trezor-gpg init` command. After I applied it to the system, I was able to initialize my Trezor-based GPG identity.