fix listPackages() for channels with only 1 package
fix listPackages() for channels with only 1 package


marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core