Make PECL channel listing more robust

The code as it was heavily relied on a very specific output format. This patch
makes the data processing more robust against errors caused by unexpected
output.
Merge pull request #16708 from babilen/dev-pecl-list

Make PECL channel listing more robust