Fixes typo with sendmail detection - fixes #9203