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

It causes new branch cannot be created in branch manager.
Merge pull request #871 from aethanyc/fix-return-value

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