fix(registry): check the ref a package is built from, not HEAD (#106)