wmaker: make parsing on display name less prone to crash in SetupEnvironment (Coverit...