Fix release script with newer versins of git