Search in Commerce is using OData Item Service.
Except for term, you type in Search dialog, additional filters might be used. Filters are defined by the OData Item API Key.
In a default configuration commerce habitat and adventure environments are using
34905B27-5F55-4DF8-B866-B60A1571D2D5
as API key. This item is located in core database and contains filter below:
(Fields/any(f: (f/Name eq 'Extension' and (f/Value eq 'png' or f/Value
eq 'jpg'))) and Language eq 'en' and (contains(Path,
'/images/adventure') or contains(Path, '/images/habitat'))))
As you can see, the search is done only for images with extensions *.png and *.jpg and only under the habitat and adventure folders.
You should either register your own filter and update environment configuration or, as a fast change, update existing one.