Pass the right number of arguments to commit, fixes single-branch imports.