Fix UrlCompare method.

With no component specified, parse_url returns an associative array with keys: host, path, scheme etc.
Merge branch 'hotfix/breadcrumbs-homelink' into stage

* hotfix/breadcrumbs-homelink:
  Fix UrlCompare method.