determine base git ref from installed version
determine base git ref from installed version

This is to avoid a smoke failure due to the code under test having
diverged from the current master branch.

jhoblitt/jenkins-dm-jobs,lsst-sqre/jenkins-dm-jobs