Don't use getPath() to initialize leafref resolver