Fixed possible issue with no exports dir created for definition without any exports.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>