stub repository_profile for sharding unit tests. Fixes #353