[sr-dev] git:master:f109109a: app_lua: safety check of returned anchor before using it