getting rid of "Can't convert NoneType to string"
by wrapping self.device.package in an 'xstr' funciton.