Fixed problem with redundant output in commit command