fix export for openassessment drafts (PLAT-249)

This addresses an issue with exporting the drafts of xblocks that don't have `xml_attributes` defined for them

@dmitchell 
@nasthagiri 

https://openedx.atlassian.net/browse/PLAT-249
This test is not getting called since it doesn't have `test` in its name.