Fix test failure in release:prepare