Print appropriate message and exit if no matches found