Now repo creation works correctly for both proxy and hosted repo, role hint did the trick.