Update security-scan.lib.sh

Make git reset and git submodule update really recursive