Avoid perl undef warning when arg doesn't have schema