Correct bug in plugin generator for workspace type

Corrects a compilation bug in workspace generated by the plugin generator