avoid error when script can't find git revision