git-pickaxe: fix origin refcounting