BUG-869: removed redundant check for null before an instanceof

No need to check for null before an instanceof, the instanceof keyword returns false when given a null argument.

Change-Id: Ib572460a5972406a6a27347f73e19d27109f994c
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "BUG-869: removed redundant check for null before an instanceof"