fix git hash label and export to env