Add --no-tty option to gpg commands

Not sure what the difference is, but sometimes gpg complains about not having a
tty. Sometimes it works fine. Let's just go ahead and be on the safe side and
add --no-tty option to all gpg calls.