ACCUMULO-2854 Added additional check to prevent NPE

Signed-off-by: Bill Havanki <bhavanki@cloudera.com>