kivyenv.sh: fixed error and minor cleanup