Change rehash to work with Chef 12