Fixes #3737 Print messages for no master or no matching minions