packager: handle optional PPA argument correctly

Since sys.argv includes the program name as the first element, the
list will have length four when the optional third command line
argument is present.