public function ensureRemoteExists($org, $repo)
{
$adapter = $this->application->getAdapter();
$pushUrl = $adapter->getRepositoryInfo($org, $repo)['push_url'];
if (!$this->remoteExists($org, $pushUrl)) {
$this->getHelperSet()->get('gush_style')->note(sprintf('Adding remote "%s" with "%s".', $org, $pushUrl));
$this->setRemote($org, $pushUrl, $pushUrl);
}
}