(getpass): Don't barf if getline returns a null BUF.