While testing https://github.com/piwik/piwik/pull/12019 I noticed I get the error
INFO [2017-09-08 12:16:39] Unable to test if mod_pagespeed is enabled: the request to http://unknown/./console?module=Installation&action=getEmptyPageForSystemCheck failed
I searched for similar issues but they seem different. Seems like
Url::getCurrentUrlWithoutQueryString() does not return a URL.
Might be better to use
SettingsPiwik::getPiwikUrl() or so