Bug fix: Handle XML export if base doesn't exist