Support flat .pkg file.