Soak the dried porcini in 250ml hot water for 15-20 minutes. Chop the porcini and strain and reserve the soaking liquid. Dice the onions, mince the garlic, and slice the fresh mushrooms.
Heat 1 tablespoon of butter and olive oil in a large skillet over medium-high heat. Brown a third of the sliced mushrooms in a single layer for 5 minutes until golden, then transfer to a plate. Repeat with remaining mushrooms in two more batches, adding more butter as needed.
Reduce heat to medium, add remaining butter, and cook the onions for 6-8 minutes until soft and golden. Stir in the garlic and chopped porcini, cooking for 1 more minute until fragrant.
Sprinkle flour over the onion mixture and stir constantly for 1 minute. Slowly pour in the wine, scraping up browned bits. Add the vegetable stock and reserved porcini liquid, stirring to avoid lumps.
Return the browned mushrooms to the pan with the thyme and bay leaf. Bring to a gentle simmer and cook for 10-12 minutes until thickened to coat the back of a spoon.
Stir in the Dijon mustard, Worcestershire sauce, and heavy cream. Simmer for 2-3 more minutes, then season with salt and pepper. Discard the bay leaf. Transfer the filling to a shallow dish and cool to room temperature, then refrigerate for at least 1 hour.
Preheat oven to 200°C (400°F). Roll out one pastry sheet to line the bottom and sides of a 9-inch pie dish, leaving an overhang. Spoon the cold filling into the dish. Brush the pastry edge with beaten egg.
Roll out the second pastry sheet and place it over the filling. Press the edges together to seal, trim excess, and crimp. Cut slits in the top for steam to escape, then brush the top with beaten egg.
Place the pie on a baking sheet and bake for 40-45 minutes until the pastry is deeply golden. If edges brown too quickly, cover with foil. Let the pie rest for 10 minutes before slicing and serving.