This only checks whether the branch is named master, not whether, additionally, the origin is https://github.com/juju/juju-gui, right?  Ideally, we would do both.  I'm not too bothered about it, but it's a definite nice to have.