cgi.c: fix compile failure from undefined duc_pick_db_path