Add verbose error messages at __virtual__

Change-Id: Ieb1a1ac405b5faac0e7bb9ce44df2f4869c5736c
diff --git a/_states/jenkins_smtp.py b/_states/jenkins_smtp.py
index 969019c..f27972e 100644
--- a/_states/jenkins_smtp.py
+++ b/_states/jenkins_smtp.py
@@ -44,6 +44,19 @@
 }}
 """ # noqa
 
+
+def __virtual__():
+    '''
+    Only load if jenkins_common module exist.
+    '''
+    if 'jenkins_common.call_groovy_script' not in __salt__:
+        return (
+            False,
+            'The jenkins_smtp state module cannot be loaded: '
+            'jenkins_common not found')
+    return True
+
+
 def config(name, host, username, password, reply_to=None, port=25, ssl=False, charset="UTF-8"):
     """
     Jenkins SMTP server config state method