Fix potential NPE if binding is null or empty

Fixes 52North/sos-importer#10