restore get_logdir, it is really needed for the job packing...