fix version attribute of tarballs when repo name does not follow common style (fix #3)