fix opam pin when no version and name