Minor fix in repackage process