Added basic checking for channels and repositories to make sure the JSON looks somewhat reasonable
Fixed sleepy-coding mistakes with Channel and Package providers
Fixed premature access to cached channel info