Fixed uninstall method
Fixed "broken pipe" problem when installing with magi-kit-install.sh