fix release issues with newer git version