Add failing test case
Reflog: correct "new" id for reattaching HEAD
Check for errors when dereferencing symbolic refs
Merge pull request #2095 from libgit2/update-head-reflog

Correct "new" id for reattached-HEAD reflog entry