Fix compiler error from using sol::sol_error in get_nil