Rename tar_scm to tar_scm.py

This rename is a preparation so that it can be used as a module inside
unittests.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Fix directory name of repository clone

For the local clone we don't want to keep the SCM extension or any
parameters that are passed via the URL.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Merge pull request #46 from jblunck/fix_clone_dirname

Fix directory name of repository clone