Fix create repo api

[skip ci]