Preheat the oven to 400°F (200°C).
In a large skillet, heat some oil over medium heat.
Add chopped onions and sauté until translucent.
Add minced garlic and cook for an additional minute.
Stir in ground beef and cook until browned.
Season with salt, pepper, and thyme.
Add beef broth and let simmer for 10 minutes.
Roll out the pastry dough and line a pie dish.
Fill the pastry with the meat mixture and cover with another layer of dough.
Bake for 40-45 minutes until golden brown.