Moving to array_key_exists when adding plugin paths.