Check if stats key is empty

Change-Id: I843a115b3ac96bb7808e5b78cac4157fa5c319de
Reviewed-on: http://review.couchbase.org/33444
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>