Fixing "Mingle creates duplicate artifacts when syncing custom tasks"

I added a docstring to highlight the different return structure