Noticed this when landing the fix in
Basically, the changes made to lib/form/filemanager.js in
MDL-45184 (specifically, this code) seem to have no impact, as we'll always have a file node when populating licenses within the file manager. As far as I can tell, that only happens when you click a file in the manager.
For posterity, we're talking about the else if in this code from within populateLicensesSelect.