[checkmk-commits] Host attributes: Extracted current tag gathering to dedicated function