Fix to not export foreign key for exclude tables. Thanks to Ludovic Penet and Damien Clochard for the report.