fix for double-check git release logic