It's a good thing you spotted that dirt, which is proof that a draft is moving into the attic from the house below. The insulation acts as a filter, trapping the material moving by in the airstream.
This video demonstrates how to install a plumbing pipe boot flashing on a ribbed metal roof. We use Butyl Tape as the primary sealant and Sashco Lexel for added protection. A simple and effective ...