fix def-transfer with no options map null pointer

When defining a def-transfer with no options map, the call to `nth` will throw a null pointer exception.  Change to `get` in order to return `nil` to if statement instead.