Fix error by envsetup.sh when reuse a terminal