attributes: fix (invalid) attributes, was generating a TypeError

The syntax here was bad, wouldn't compile in Chef 11.4.4 omnibus environment due to TypeError