Detect invalid packages that list directories in plist