Search for snaps whose name matches the given string.
The match is exact unless the string ends in *.