cart build: post-process new packages in sed script