installer: Improve check for serial console option