MDL-38474 repository: Cannot edit a repository instance