builtin-commit: fix amending of the initial commit