[CHEF-3817] Fix dedupe in cookbook_order by returning dependencies as sy...

Fix for an annoying warning on every run.