Protect against no GC information

The call to getLastGcInfo() can return null if no garbage collection has happened yet.
Merge pull request #2 from deverton/master

Protect against no GC information