You can clone with
HTTPS or Subversion.
In some cases, Piwik_Url will not return the current Piwik URL, for example when running from shell/cron sometimes the value is not available.
So far it hasn't been a problem so much as only the From: email would use the domain name. See faq: http://piwik.org/faq/troubleshooting/#faq_110
however, with Email reports coming soon, they will need to know the URL to link the icons / Piwik logo to the piwik server generating the reports.
(In ) Fixes #2318, #2325 - URL will be checked for in each piwik request to UI and API (not tracker), and will be set if not already set.
then, we use this URL for the HTML email images & link to the piwik reports