Werk #3371: Be compatible to old site=None setting read from hosts.mk

Component Setup
Title Be compatible to old site=None setting read from hosts.mk
Date Apr 6, 2016
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8b10 1.4.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Old WATO versions saved the site attribute with a value of None which is not allowed in current WATO versions. Either the key has to be missing when no specific site is configured or the key has to be missing. Cleaned this up.

Fixed exception: TypeError (cannot concatenate 'str' and 'NoneType' objects)

To the list of all Werks