NSDictionary: Check for nil before using the result.