fixed tearDown when there is no DB
fixed tearDown when there is no DB

sdss/marvin,albireox/marvin,bretthandrews/marvin,bretthandrews/marvin,bretthandrews/marvin,albireox/marvin,sdss/marvin,albireox/marvin,sdss/marvin,albireox/marvin,sdss/marvin,bretthandrews/marvin