fixes #7436 - extract nested host group error message