Revert "(#11004) Fix regex for pkg provider line matching"
This reverts commit e37b536397568ffa3e6fe9383bc8a19a0d3765e5.
The discussion on the ticket showed that this wasn't correct, but I missed
that while reviewing the code. I am backing this out so that it can be
properly resolved.