Oops. Move GPG_TTY to within this condition