Replace module_exists with drush_module_exists.