Set the ScmType when creating new sites
Fixes #632