restore-spec fix

This PR fix two bugs:
+ if 'base_prefix' not in spec throw exception as spec doesn't exist
+ checking/creating tblspc_prefix even if path_prefix exist