Darn, this has bitten again!
This is an open issue for CLI which should have been addressed a year ago.