[checkmk-commits] Moved hosttag initialization call to more abstract helper function