private function findInstallTaskFromArray(array $array) {
		$installTasks = $this->getInstallTasks();
		foreach ($installTasks as $installTask) {
			if ($installTask->matchesPackage($array)) {
				return $installTask;
			}
		}
		
		throw new MoufException("Unable to find install task in matching array passed in parameter.");
	}