I don't know how to do that either and I wouldn't know which tag to clone from anyhow.
So basically, we can't compile mameui any more?
I would humbly suggest that you make the source match up with the latest stable release. I know the project is on life support and makes large demands on your free time and skills, but it would make life a lot easier for those of us who roll our own.