Fix a crash in autocompletion
Fix a crash in autocompletion

lk1ngaa7/pgcli,suzukaze/pgcli,MattOates/pgcli,n-someya/pgcli,zhiyuanshi/pgcli,d33tah/pgcli,j-bennet/pgcli,w4ngyi/pgcli,yx91490/pgcli,bitemyapp/pgcli,joewalnes/pgcli,dbcli/pgcli,johshoff/pgcli,darikg/pgcli,thedrow/pgcli,TamasNo1/pgcli,j-bennet/pgcli,yx91490/pgcli,bitmonk/pgcli,thedrow/pgcli,TamasNo1/pgcli,koljonen/pgcli,d33tah/pgcli,dbcli/vcli,dbcli/pgcli,janusnic/pgcli,n-someya/pgcli,darikg/pgcli,nosun/pgcli,suzukaze/pgcli,bitmonk/pgcli,w4ngyi/pgcli,nosun/pgcli,MattOates/pgcli,dbcli/vcli,janusnic/pgcli,lk1ngaa7/pgcli,joewalnes/pgcli,zhiyuanshi/pgcli,koljonen/pgcli,bitemyapp/pgcli,johshoff/pgcli