Bad use of sudo in chef-server rake tasks