That's right. The current code actually does that "createIfDoesotExist", but I noticed that there were some failures when concurrently creating nodes, so the purpose of this PR is to remove that race condition.
In the current code, the two API calls are already executed for each node, but if we can save them, the better!