The problem wasn't that you weren't running a dynamo hub; the problem was that you made an assumption that everything would go exactly as planned, and bet your safety on being right, all so you didn't have to carry a pound or two of gear.
What happens when something goes wrong on your dynamo lamp?
I always carry two rear lights and two headlights. All four of them can be set solid or blink. They all take the same size batteries, and I carry enough spares to replace the batteries in any two lights.
The old adage is: Two is one; one is none.