Fix askpassphrase bug