Fix identity build with new head meta data

/cc @kaelig @ironsidevsquincy