shell: Don't get in a tight loop when embedded journals are empty.