check for multimedia_map being None

none of us know how or why that would ever happen
but we get 500s

fixes http://manage.dimagi.com/default.asp?94585