Support 1.7 for symbolic-ref