Ensure outputDir is never null for packing