adding test to illustrate bug with get_revision with no scm
Fixing get_revision with no scm