Incorrect array access fix

Hi, I've been tracking down a bug today that I traced to Grit accessing the wrong index of the line match when reading packed-refs. It was '3' and should be '2'. This means it's always falling through to git's rev-parse if it gets that far.

Cheers,
Hugh