Import improvements from libucl
Parse the pkg.conf file using libucl
Normalize debug message