issue #9: exception on console, if restore-pass link was tampered with

issue #9: exception on console, if restore-pass link was tampered with