fix(gatsby): Prevent errors if Head
has root text node
#36402
Merged
Head
has root text node
#36402