Turns out symbolic-ref has a --short flag