Issue #3035980 by jhedstrom: Provide a better error when a NULL is passed to EntityStorageBase::load() (cherry picked from commit 4dfdaaed)