[AMQ-9531] Fix regression causing export command to fail
2 files changed