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.

In particular it guards against Exceptions when listing yet undiscovered channels.