You can clone with
HTTPS or Subversion.
&& strpos($this->piwikUrl, 'http://') === 0)
$this->piwikUrl = str_replace('http://', 'https://', $this->piwikUrl);
(In ) * fixes #2594 - apply gator's patch
(In ) fixes #2606, refs #2594