[sr-dev] git:master:34749ab1: utils: jump to error on pkg allocation failure