Better workaround for sudo tty tickets bug