Yikes, I would also be concerned that they used non-galvanized roofing nails that are rusting and that the shingles do not cover the lower edge of the pipe flashing unless it was added after the roof was finished, but it still doesn't explain why the flashing is there with no pipe.