Don't try to search if `ag` isn't available

Almost fixes #32