make sure to clean up white spaces of "addpkgs" value.