Replica may be NIL causing some printfs to dump core
Replica may be NIL causing some printfs to dump core

Change-Id: I3be2f411f18be3d7a321c9b097b6af9c2620de55
Reviewed-on: http://review.northscale.com/2593
Tested-by: Dustin Sallings <1c08efb9b3965701be9d700d9a6f481f1ffec3ea@spy.net>
Reviewed-by: Dustin Sallings <1c08efb9b3965701be9d700d9a6f481f1ffec3ea@spy.net>

membase/libvbucket,zbase/libvbucket,zbase/libvbucket,zbase/libvbucket,couchbase/libvbucket