[spesmilo/electrum] delete wallet file error (#4660)

Steps:

1.- imported a only one private key
2.- delete private key
3.- delete wallet file
4.- on accept confirmation and after enter password show error **»list index out of range»**