Fix crash in print_info

If info(2) is really empty. it cannot be accessed by isempty.
Merge pull request #377 from JohannesPfeifer/master

Fix small bug in print_info