Match meraki@ or root@ when figuring out the shard

Some test use the root@sdg# format