Fix release script bugs after experience from 0.2.0: