Packager: fix conflict in flag name and function name