Taps with no associated models show all models in contextual Analyze button in logs

I am not sure if this is a bug, but if you run a pipeline for a Tap that has no associated Model, the Analyze button in the pipeline log UI tries to fetch all the installed models instead of informing the user that there is no pre-bundled Model for that tap.

As an example, I run tap-csv in various setups.

In a project with other Taps (and their respective models) already installed, I get a long list of all the other Models when I click Analyze:

image

If tap-csv is the only Tap installed, I get an empty modal (which seems even more like a bug):

image