Saute onion, mushrooms, garlic and 1/4 tsp thyme in butter. Stir in chicken, gravy, bouillon, and pepper. Spoon into a greased 3 qt casserole. Combine potatoes and remaining thyme and spoon over chicken mixture. Bake uncovered at 350 degrees for 45 minutes. Serves 6-8.