Yes, yes, yes, you did the right thing! If she did have a home, someone was not taking very good care of her, so I myself would not worry too much about finding out where she came from. Maybe that is the wrong way to feel, but I have SUCH a hard time with people who don't take care of their animals. There is a chance that she was maybe a long way from home and was lost, and if that's the case, maybe her owners deserve a second chance. But aside from that, she will have a better chance to find a good, loving home somewhere else.