Fixing get_revision with no scm
Fixing get_revision with no scm

mistermocha/jenkinsapi,imsardine/jenkinsapi,salimfadhley/jenkinsapi,zaro0508/jenkinsapi,imsardine/jenkinsapi,salimfadhley/jenkinsapi,jduan/jenkinsapi,JohnLZeller/jenkinsapi,domenkozar/jenkinsapi,mistermocha/jenkinsapi,zaro0508/jenkinsapi,imsardine/jenkinsapi,mistermocha/jenkinsapi,JohnLZeller/jenkinsapi,zaro0508/jenkinsapi,aerickson/jenkinsapi,aerickson/jenkinsapi,jduan/jenkinsapi,domenkozar/jenkinsapi,JohnLZeller/jenkinsapi