added a check: release_repo != upstream_repo
Merge pull request #312 from ros-infrastructure/issue_267

added a check: release_repo != upstream_repo