ENG-5561: Fix NPE in RestoreAgent log message