This PR fix two bugs:

+ if 'base_prefix' not in spec trow exception as spec doesn't exist
+ checking/creating tblspc_prefix even if path_prefix exist