SH is dash on a RPI, no pushd/popd.  Use bash instead.

Also update submodule, not just init.