Make rev-parse understand "extended sha1" syntax