Add the garlic, tomato paste and rosemary, cook for a minute more, then stir in the flour so it coats everything. Slowly pour in the porcini and their soaking liquid, stirring constantly to avoid lumps, then add a teaspoon of salt and a generous grind of pepper, and bring to a simmer.