Fix invalid None value for the list of licenses in tests.
This caused indexers to crash, but they caught the error and returned uneventful instead. A future commit will remove this exception silencing, so it will make tests fail.
Migrated from D4154 (view on Phabricator)