It looks like maybe they added that canvas material stuffed in there to firm up the plumbing and also act as anti-chaffing material. Hard to tell but not a very good job.
I'd re-visit that area and take care of those areas where light, heat, cold, and insects can come in and make sure that plumbing isn't moving around while underway and not rubbing against anything.
BTW...I tore that entire area under and behind our kitchen sink and redid all those plumbing lines and insulated that area too.
Just as a side note:
I have made a habit and it's just in my DNA, whenever something is happening or I'm checking on something for whatever reason, I've kinda developed the attitude of, "I'm here for reason. Something has drawn me here and as I dig around I start examining everything closely in that general area and almost always I'll find something that I'll say, oh boy, I need to address this before something goes wrong". So in short, everything happens for a reason, as it did in your case. So as you were chasing one thing you saw another. I have found numerous areas over the past 3 years where plumbing lines, wiring harnesses, cooling hoses in the engine compartment, that were dangerously close to a failure of some sort or another and dealt with them. After awhile you just learn to watch things like a hawk, fix them as they present themselves and check off another item that could have taken you out. For me it's a labor of love to watch and fix our coach as we move across the country. I try to avoid as best as possible any surprises. Oh did I mention that my wife loves me and feels safe because of this.
Good luck my friend.