There was a recent hypothesis that the appendix was a kind of "storage" for beneficial gut bacteria, important in keeping the gut flora ecosystem going. Of course, the whole notion of gut flora as being important for digestion is relatively new, so that turns out to be its main function it's no wonder we used to think it was useless.
I wonder if that kind of misunderstanding applies to the gall bladder as well.