public function get_existing_path() { $paths = $this->get_existing_paths(); if (!empty($paths[0])) { return $paths[0]; } return ''; }