Changed usage of luaL_error + luaL_argerror to be more idiomatic.
Fixed a Py refcount issue due to unreachable code.