Fixed the provider, when using template from another cookbook

There is no 'cookbook_name' on previous configurations. Only 'cookbook'.