Made patricia_get NULL-root friendly