Fix packagpe validation