[maintainer-tools PATCH 2/2] dim: Simplify test for current branch