update-tools.sh: Parse the database instead of files in git.