Worth knowing cultured butter makes naturally tangier, cheesier ghee too, so if you used a cultured butter that is a third contributor. Nothing wrong with any of it, it just is not the neutral nutty jar you were expecting.
For the next batch: cook until the water is genuinely gone, which you can hear as the bubbling and foaming dying down, and strain through fine cheesecloth or a coffee filter rather than a sieve.