use Repository.revparse_single; fixes #64

per pygit2, tags now trump branches