Fixed error with reading XDG_CURRENT_DESKTOP key when it doesn't exist.