Fix for `is True` and `is None` instead of `==`
Merge pull request #3778 from basepi/isnonefix

Fix for `is True` and `is None` instead of `==`
Merge pull request #3777 from basepi/nominions

Fixes #3737 Print messages for no master or no matching minions
Add 'jid' back in as None to prevent KeyErrors
Move the no minion check so it doesn't eclipse no master check