Meanwhile, cut the tips off the garlic cloves. Place the cloves in a square of aluminum foil. Fold up the edges of the foil and crimp together to form a tightly sealed packet. Roast alongside the eggplant until tender, about 20 minutes. Let cool. Purée the cloves by pressing them through a garlic press.