There is a bootstrapping case where the test DB doesn't exist which causes reset_db to fail.
scripts
git fetch edx