nix-channels: Check release is complete before GC
nix-channels: Check release is complete before GC

Cherry pick https://github.com/tuna/tunasync-scripts/pull/115/commits/793ab605f4e4bf77f73f8c18d84020f1f5e05501

ustclug/ustcmirror-images,ustclug/ustcmirror-images,ustclug/ustcmirror-images,ustclug/ustcmirror-images,ustclug/ustcmirror-images