Fix return value of `magit-ref-exists-p'

It causes new branch cannot be created in branch manager.