Avoid error in debug_msg if no latest file exists