Handle error case  where no merge info is returned by QueryMerges
Merge pull request #678 from pmiossec/fix-missing-merge-parent

Handle error case  where no merge info is returned by QueryMerges
Add support for ExtendedMerge of type Undelete
Merge pull request #683 from honestegg/issue#682

Add support for ExtendedMerge of type Undelete