Make sure that Prg.GetName() doesn't return trailing file separator
Path.releaseName removes properly all extensions.
Fix createTag, by using the right repo name.
Creates repo if missing.