support for searchpath option to restore plugins

Correctly passes the searchpath option to restore command.