Fix leaf directory of specified output directory path is ignored in mpu.exe.