Build: Export build_branch for gh-pages variable

@LaurentGoderre your bash-fu is better than mine, is this correct? The issue seems to be from https://github.com/wet-boew/wet-boew/blob/v4.0/Gruntfile.coffee#L338

Fixes #3125