Use dms_dbdir even when dms_dir has been set.