Minor fix to packager logic