Fixes #797: casadi.IOSchemeVector returns None as a last resort