better error message for missing hpg_resolve