Pkg out always appends pkg even when pkg already given as output arg ```py if output.endswith(".pkg"): output = output[:-4] ```