return nil to Lua if the requested resrouce wasn't found