check if unpackdir is empty and json file is there
When running do_unpack against an existing build directory (eg. with option -f) unpackdir may not be empty and contain already unpacked files ; in such case, to avoid inconsistencies, we need to skip unpack tracing if the unpack tracer json output file is already there, or raise an exception if it is not.