gc.sh: ignore pack files without an index