Normalizing path before checking for node's existence