Someone got lazy

during my tearoff of the upstairs bathroom dormer, I found this beauty underneath. What are some people thinking or not. I cut out the wood and cut a new piece to fit around the stack properly. The house was built in the fifties. The second floor was added years later. I didn’t take a good picture of it but look at the step flashing…it wasn’t between each shingle it was all overlapped and nailed to the side wall under the shingles.