Remove obsolete args.replace when fetching the commit_state