Use constant detection to check for SCM type
Use constant detection to check for SCM type

Continues to use the variable `:scm` if available. But in Capistrano
3.7, `:scm` is removed and pending no longer functions. Here we fall
back to detecting if Git or Svn is defined and assume that scm.

a2ikm/capistrano-pending