3.0 plugin bake fix

Alternative solution to #3512 fixing `Plugin.Name` parameters when invoking various bake tasks. I've also added tests cases.