Inverted test for syspars present.

Also missing import for restore