- Was using non-nil terminated c-string resulting in a nil string being ...

...returned which caused an erroneous condition check.

The upshot of this is that users are sometimes asked to enter a password for non-password protected DMGs.