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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8b10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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