Fix missing scm check