@Override public boolean matches(Pride pride, Module module) throws IOException { String branch = module.getVcs().getSupport().getBranch(pride.getModuleDirectory(module.getName())); if (Strings.isNullOrEmpty(branch)) { branch = module.getVcs().getSupport().getDefaultBranch(); } return branchPattern.matcher(branch).matches(); }