Do not try to show changes of non-master branches

If the current branch is not set to master, report the branch and do not
report any changes to avoid giving a misleading impression of a
potential release.

Change-Id: I12a4f655339721f751b04cdef0cc689bd3485d42