Implement xpkg validate task