t5551: stop writing packed-refs directly