Improvement on pkgchan and exceptions