2 months ago: Also, new if [not] exists <filename> then ... syntax for checking whether or not local files exist. Unfortunately it's probably too late to use this construct in .pkg files, but it could be very useful.