Remove bug if you bake all for view o controller

There was a bug in command "bake all" for a view or a controller if you wish to bake for a plugin.
This patch correctly load the model if -p <PluginName> option is used when baking.