Fix release script regressions