French logic: s'occuper de ses oignons

If someone’s trying to meddle in your affairs and you’re just very annoyed, you can say: “Take care of your onions!”. Ok, ok, not in English, but in French: “Occupe-toi de tes oignons!”.
Does someone know why they talk about onions in this context?