[FAB-14324] remove mock-only nil check
[FAB-14324] remove mock-only nil check

The tests pass without it.

Change-Id: I909cc42105569ca942815e72e19379d11822a0ba
Signed-off-by: Matthew Sykes <89c6e4c9c1046731a9c37abefc223a83de36a5d9@us.ibm.com>

hyperledger/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric,manish-sethi/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,stemlending/fabric,jimthematrix/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,muralisrini/fabric,binhn/fabric,muralisrini/fabric,muralisrini/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,jimthematrix/fabric,manish-sethi/fabric-sidedb,hyperledger/fabric,binhn/fabric,binhn/fabric