Fix crash in print_info

If info(2) is really empty. it cannot be accessed by isempty.