fix exception if no data is parsed

Ran into errors when data is returned as 'None' and the format_cef routine. Quick fix in this pull request.