remove code which was setting up repo_path redundantly from cmd_diff()