You are correct,when the power goes out you cannot purchase gas. Having gone through several hurricanes I will tell you what I do. At the start of hurricane season I fill up my gas cans. 12 5 gal., 5 2 1/2 gal, 4 1 gal (two stroke fuel) with Stabil added.
Fuel up my boat fuel tank,4 wheelers, gator, and vehicles. I can siphon fuel from boat if needed. Biggest thing is I do not run generators 24 hrs day like so many people do, till they run out of fuel. During the day light hours I run it every 4 hrs for 1 hr. This keeps refrigerator, freezer cool. And at that time do anything in house requiring power. Such as wash clothes, watch t.v., operate fans, etc. Cannot run continously because you do not know when you will get power back. And when gas stations get power and fuel there are long lines and limits to how much you can purchase. Also In preperation I go to the bank and withdrawl large amount of cash. Because your credit/debit cards, checks are useless. Because merchants don't have internet access. Cell phones don't work, towers down. You have to prepare before the storm.