       (defun spacemacs/helm-do-ack (&optional dir)
         "Search with ack using `helm-ag'"
         (interactive)
-        (if (configuration-layer/package-usedp 'helm-ag)
-            (let ((helm-ag-base-command "ack --nocolor --nogroup"))
-              (helm-do-ag dir))
-          (message "error: helm-ag not found.")))
+        (let ((helm-ag-base-command "ack --nocolor --nogroup"))
+          (helm-do-ag dir)))
 
       (defun spacemacs/helm-do-ack-region-or-symbol ()
         "Search with ack using `helm-ag' using a default input."
         (interactive)
         (spacemacs//helm-do-ag-region-or-symbol 'spacemacs/helm-do-ack))
+
       (defun spacemacs/helm-do-pt (&optional dir)
         "Search with the platinum searcher using `helm-ag.'"
         (interactive)
-        (if (configuration-layer/package-usedp 'helm-ag)
-            (let ((helm-ag-base-command "pt --nocolor --nogroup"))
-              (helm-do-ag dir))
-          (message "error: helm-ag not found.")))
+        (let ((helm-ag-base-command "pt --nocolor --nogroup"))
+          (helm-do-ag dir)))
 
       (defun spacemacs/helm-do-pt-region-or-symbol ()
         "Search with pt using `helm-ag' using a default input."


      ;; Search in buffers ---------------------------------------------------

      ;; Search in files -----------------------------------------------------

      (defun spacemacs/helm-do-ag-region-or-symbol ()

        "fsK" 'spacemacs/helm-do-ack
        "fsp" 'spacemacs/helm-do-pt-region-or-symbol
        "fsP" 'spacemacs/helm-do-pt
        ;; current project scope
        "p/"  'spacemacs/helm-project-smart-do-search-region-or-symbol
        "p?"  'spacemacs/helm-project-smart-do-search
        "psa" 'spacemacs/helm-project-do-ag-region-or-symbol
