Simplify handling of parents of exported commit