fix for 'Could not parse PKey: no start line' error on private keys with passphrases'