adding test to illustrate bug with get_revision with no scm
Fixing get_revision with no scm
Merge pull request #250 from toumorokoshi/master

get_revision raises error when querying a job with no SCM