Get ref from gerrit