fix(install): getBaseUrl returns scheme-relative URL now

On some servers, it's possible that `$_SERVER['HTTPS']` is not set even though HTTPS is being used.

Fixes #6190