Melt the ghee in a large heavy based saucepan over a medium heat and add the asafoetida, cloves and green chillies. Fry for a few seconds, then add the onion paste and fry for another 8 minutes, stirring well and scraping up any bits that stick to the bottom.