Fix release_manager.rb bugs