fix def-transfer with no options map null pointer
Merge pull request #1 from danburkert/def-transfer-no-opts

fix def-transfer with no options map null pointer