Fixed a bug in get_dburi.