[checkmk-commits] Moved helper function to fetch groups from livestatus to more generic place