validate repo format