Fix error with nil modules_dir running kafo-export-params
Merge pull request #56 from domcleal/export-modules_dir

Fix error with nil modules_dir running kafo-export-params