Really sorry to rain on your parade, and it certainly doesn't take away from her other great accomplishments, but she really didn't originate the term[0]. It's a nice story though.
(A moth in a relay in a truly large piece of big iron.)
I think it's interesting that this folk etymology has had such a long life; it's easy to debunk, and Admiral Hopper certainly doesn't need another feather in her cap, yet it persists.
That's how it works with humans - when you have a cap full of feathers, people keep adding more and more.