It seems like Yosemite introduced an undocumented change that requires any packages that are added an OS X installer (e.g. Netinstall or createOSXinstallPkg) be distribution style packages, or you get a nasty failure accompanied by one of the most unhelpful error messages ever.
To fix this, first-boot-pkg now builds distribution style packages.