It is not a problem. It isnt as if G-d didnt know that there would be exile!
Hosea 3:For the Israelites will live many days without king or prince, without sacrifice or sacred stones, without ephod or household gods. 5 Afterward the Israelites will return and seek the LORD their God and David their king. They will come trembling to the LORD and to his blessings in the last days.
There are other exile passages as well. The point is, G-d knows. And G-d will return the Jewish people to their land. (occuring now) The Temple will be rebuilt. Sin sacrifices are returning. The preisthood is returning. The law is taught by the Priests. And this time, only the physically AND spiritually circumsized will be allowed in the Temple grounds. All of this is in Ezek 44.