fix bug of install.sh, prevent JSON parse error in ~/.cortex/stable_modules