Make the both checks only work if its a ca.
Merge pull request #26 from actown/master

Fix nagios checks