Build failed: please ensure the remote branch exists (128)

I’m building a couple of automated build rules on Docker Hub.
These are my rules:

| Branch | master        | /java/tomcat | latest |
| Tag    | /Tomcat(.*)/g | /java/tomcat |        | 

The problem is the first rule build with no problem, but the second rule fails with the message from the subject.
It’s like is trying to get a branch name Tomcat which is wrong. Is this a known bug?

I also see this. Have you resolved the issue somehow?