Fixes broken links when using URLs like http://host/kibana