Don't try to fetch entity names that are nil.