fix get last version error & if parse arg failed pass all arguments to git