NPE when getting unknown Entity Caps

Description

We shouldn't look up entity capabilities by hash, if the hash is null. The lookup will result in null, but generates nasty stack traces like this one:

Environment

None

Acceptance Test - Entry

None
Fixed

Assignee

Dave Cridland

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Minor
Configure