ddfs_gc_main: fix a bad pattern matching attempt.

We cannot do a lists:flatten and expect the items to match with [ObjName], in
this case, the flattening was unnecessary.