Match "zeroes"-hashes (uncommitted) more reliably

I guess it's not always 8 characters.