Handle case where presentation has no slot.
Merge pull request #362 from PyCon/program-export-bug

Program export bugfix