Steps to reproduce:
 0$ ./src/bitcoin-wallet -datadir=/tmp  info  -wallet=asdf
 1Wallet info
 2===========
 3Name: 
 4Format: bdb
 5Descriptors: no
 6Encrypted: no
 7HD (hd seed available): yes
 8Keypool Size: 2000
 9Transactions: 0
10Address Book: 0
(See the mismatching wallet name!)
Compare to:
 0$ ./src/bitcoin-wallet -datadir=/tmp  -wallet=asdf info
 1Wallet info
 2===========
 3Name: asdf
 4Format: bdb
 5Descriptors: no
 6Encrypted: no
 7HD (hd seed available): yes
 8Keypool Size: 2000
 9Transactions: 0
10Address Book: 0