Fix for CR https://www.drupal.org/node/1894902 (moduleHandler).

module_exist does not exists anymore.
I'm not sure whether this function_exists test must be added to environment_6.inc