Add MAGPIE_SCRIPTS_HOME check to bin/magpie-zookeeper.sh
Remove dead code