protect against sharded collections not being configured

which is viable if you just want to set up the sharded cluster and want shard the collections separately