cmd_config(): make a copy of path obtained from git_path()