Really I just had to go back up the stairs and out the door. I never really bothered to exploit it as by that point I'd have enough energy weapon ammo anyway.
That never seems to work for me, but then I haven't tested it since a couple of patches ago.
You're right that it isn't necessarily needed, and I seldom try to rely on it, but if you can manage it early in the game (which isn't easy) a free source of EW ammo is a priceless commodity when one is still trying to build up a reserve stock.