Revert "include/shell.sh: remove getvar()"