filter out packages not applicable for publishing