Access opts with `get`, as the map may be nil

For instance, this form from the test results in a NPE:

    (string-pattern ["bat" "bar" "baz"] nil)
Add missing call to escape

Before this, (string-pattern "foo?") erroneously returned "foo??".
Merge pull request #12 from guns/missing-escape

Add missing escape