Ensure that nil is not returned
Fix runtime dependency on curb

Fixes #7