update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)

6 jobs for 133-update-util-check-changes-to-work-on-release-branches in 16 minutes and 53 seconds (queued for 2 seconds)