Problem: The health check for `curl` strips the first line of the version output, which contains potentially useful information. Solution: Only trim empty lines.