fix detection of dry maintainer emails when branch does not exist