Only build the package if the distro component is valid