gc: fix regression in 7b0f229222 impacting --quiet