final String releaseBranch = gitFindBranches(
gitFlowConfig.getReleaseBranchPrefix(), true);
if (StringUtils.isNotBlank(releaseBranch)) {
gitCheckout(releaseBranch);
gitMergeNoff(hotfixBranchName);
<BUG>} else {
gitCheckout(gitFlowConfig.getDevelopmentBranch());
gitMergeNoff(hotfixBranchName);
final String currentVersion = getCurrentProjectVersion();</BUG>
String nextSnapshotVersion = null;

final String releaseBranch = gitFindBranches(
gitFlowConfig.getReleaseBranchPrefix(), true);
if (StringUtils.isNotBlank(releaseBranch)) {
gitCheckout(releaseBranch);
gitMergeNoff(hotfixBranchName);
} else {
if (notSameProdDevName()) {
gitCheckout(gitFlowConfig.getDevelopmentBranch());
gitMergeNoff(hotfixBranchName);
}
final String currentVersion = getCurrentProjectVersion();
String nextSnapshotVersion = null;
