} else if (StringUtils.countMatches(releaseBranch,
gitFlowConfig.getReleaseBranchPrefix()) > 1) {
throw new MojoFailureException(
"More than one release branch exists. Cannot finish release.");
}
<BUG>if (fetchRemote) {
gitFetchRemoteAndCompare(gitFlowConfig.getDevelopmentBranch());
gitFetchRemoteAndCompare(gitFlowConfig.getProductionBranch());</BUG>
}
if (!skipTestProject) {

} else if (StringUtils.countMatches(releaseBranch,
gitFlowConfig.getReleaseBranchPrefix()) > 1) {
throw new MojoFailureException(
"More than one release branch exists. Cannot finish release.");
}
if (fetchRemote) {
if (notSameProdDevName()) {
gitFetchRemoteAndCompare(gitFlowConfig
.getDevelopmentBranch());
}
gitFetchRemoteAndCompare(gitFlowConfig.getProductionBranch());
}
if (!skipTestProject) {
