Fixed an issue of plugins not installing due to popen