Thank you @alert!
So https://github.com/plone/buildout.coredev/blob/5.1/sources.cfg
needs
plone.restapi = git ${remotes:plone}/plone.restapi.git pushurl=${remotes:plone_push}/plone.restapi.git branch=master
?
I wonder how former tests of plone.restapi on Plone 5.1run successful? @tisto can you help me to understand?