I wouldn't replace it unless someone else was paying for it. I don't think a dent in that location would weaken anything as I believe the force would be transmitting along the axis of the tube. I would be more concerned if there was a bending moment on that tube but I don't think there would be under normal or even hard riding.
I'd keep riding it and just keep an eye on it to see if it changes at all.