Modify copydist script to support tagged versions as produced by git describe