Wrap $CURENT_BRANCH in double quotes.

Fixes #1973

Building from within Xcode still works fine without the quotes, but it is more correct