Possibly a bug, you might want to report or ask in the Github issues.
Otherwise you could work around it with something like this (though this returns the first name match it finds):
func _ready():
var node = find_node_by_name(get_tree().get_root(), "my_node_name")
if(node): printt(node, node.get_name())
func find_node_by_name(root, name):
if(root.get_name() == name): return root
for child in root.get_children():
if(child.get_name() == name):
return child
var found = find_node_by_name(child, name)
if(found): return found
return null