Merge pull request #16 from aspiers/master

more robust approach to revision switching in git, and misc clean-ups

Merging since this [fixes the Travis builds](https://travis-ci.org/openSUSE/obs-service-tar_scm/builds/9757773).
tweak debugging for mv invocations

mv #1 vanished at some point.  Also make it look less like a typo.