[Issue 10130] Several callers of getpassphrase() ignore NULL returns