That's the biggest reason I prefer the Moon to Mars for anything in the next 25-50 years at least. The Moon is close enough to Earth to get supplies quickly in a crunch. Mars is not. It's going to take a long time for anything off-world to be industrially self-sufficient because as you point out supply chains are longer and more complex than people realize.