Set aside 1 tsp of the garlic, 2 tbsp of the onion and ½ tsp of the ginger to make the pistou sauce. In a large frying pan add the rest of the garlic, onion and ginger with the olive oil, thyme, rosemary and bay leaves. Fry for 5 minutes on a medium heat before adding the carrot and squash. Fry for a further 5 minutes. Stir in the courgettes and add the water with the dissolved stock cube and sugar. Simmer the vegetables uncovered for 10 minutes or until al dente. To make the pistou sauce, mix the reserved garlic, onion and ginger with the rest of the sauce ingredients. Remove the herbs and bay leaves from the soup. Taste for seasoning. Serve with the sauce.