Fix crash when the modem gets PUK locked

This fixes

https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1365481