That is a problem. The only way it could be worse is if your technology required a constant supply of input from a foreign country...
From a geopolitical standpoint running a country on locally produced renewable power is obviously the least risky approach, even if you get cut off from further expansion of your renewable production.