graph_list.c: Clear instances before re-scanning the directory.