Fix error when no passphrase is provided

Fixes the following error:

```
Warning: Cannot call method 'trim' of undefined Use --force to continue.
```