Fixed pinentry when used without DISPLAY.