Fix an NPE that is thrown when the input geometry is actually null
Merge pull request #345 from agueganno/fix-NPE-null-geometry

Fix an NPE that is thrown when the input geometry is actually null