This is the reason why I can install modules from profile sub folder 'modules' (profiles_name/modules/profile_module_name), but this condition "if ($data = $this->moduleData($module)) {" never will be true, because
$modules_scanner = new SystemListing($profiles);
$this->moduleData = $all_profiles + $modules_scanner->scan('/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.module$/', 'modules');
not analized "profiles_name/modules/profile_module_name" folder, but in common.inc
$listing = new SystemListingInfo();
return $listing->scan($mask, $directory, $key, $min_depth);