Validate recommendation object
After a recommendation object is built, it is necessary to see if it is valid. For example, if the recommended package is not indexed by AppStream, the recommendation object should not be valid. This should also be the case for the user packages that generated the recommendation.