if (volantisBean.isPagePackagingMimeEnabled()) {
// NB: The mode can only be null if the device policy hasn't been
// added to the repository or if an invalid value has been
// supplied. In this case we want "default" behaviour (which we get
// with the following code)
MimePackagingMode mode = MimePackagingMode.literal(
device.getPolicyValue(
DevicePolicyConstants.MIME_PACKAGING_MODE));
// If packaging mode is never on the device then we never set up
// a multipart packager