[COOK-1669] Using platform("ubuntu") in attributes always returns true 

change platform?("ubuntu") to node[...] so this evaulates correctly.