Quick handling of mergetag header in commit object to avoid exception