Return value of stencil.GetPartitionName is not properly checked for empty string
stencil.GetPartitionName is called when adding resources to a partitioned hashring. GetPartitionName
returns an empty string if there is an error finding the partition for the resource, but this value is not checked when it is called. This can result in a panic if the empty string is used in place of the partition name.