Fix emux term create bug when there is no emux default directory