Can the problem be from the if node[:cinder][:use_gitrepo], since it is defined as false at the /chef/data_bags/crowbar/bc-template-cinder.json, and this directory creation never works?