So you had water leaking in your walls and you only noticed it because you ripped a hole in your wall to do some painting. I consider this a blessing in disguise since you get to fix something that probably would go unnoticed had you decided to not paint the room.
That was exactly the same as my family and friends said, well at least it is being repaired but it will take a few more days