Brown meat in heated butter.
Add onion and garlic and sauté until onion is translucent.
Add rest of ingredients except sour cream, cover and simmer until meat loosens from the bone.
Remove bones and whole spices and spoon into an ovenproof dish.
Allow to cool.
Grate butter coarsely.
Beat the sour cream and egg together.
Add to butter and beat with a fork until well blended.
Sift dry ingredients and fold into cream-butter mixture.
Mix to a stiff dough.
Chill for 20 minutes.
Roll out thinly, fold 3 times and roll out again.
Repeat twice more.
Roll out pastry until about 5 mm thick.
Brush the sides of the ovenproof dish with beaten egg.
Cover dish with pastry.
Brush with egg.
Bake in a preheated oven at 200°C for 30 - 40 minutes or until golden brown.