Added invalid message if I paste a wrong wallet secret

No test required. just added a message when input is invalid. Fixes #970