Properly treat missing scm