optimize searching for test packages (limit to 1 level in packages dir)