Catch RecursiveIteratorIterator exceptions in resetdb.php if paths are not found.