- allow both parted gpt_sync_mbr table type and the gptsync
  program. if gptsync is installed it will take over precedence
- allow lxc as a value for the packages type attribute to support
  container specific package specification
- reduce duplicate code