added a check: release_repo != upstream_repo